package com.taru.service;

import com.taru.model.Discussion;
import com.taru.model.Photo;

import java.util.List;

public interface DiscussionService {
    int  insertDisscussion(Discussion discussion, Photo photo);

    int updateDisscission(Discussion discussion, Photo photo);

    int deleteDissionById(String discussionId);

    Discussion queryDissonById(String  discussionId);

    List<Discussion> queryDission();
}
